package com.adinnet.admin.organization.service;

import com.adinnet.admin.organization.model.Organization;
import com.adinnet.admin.organization.model.vo.OrganizationResp;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 机构表 服务类
 * </p>
 *
 * @author liukp
 * @since 2020-12-05
 */
public interface OrganizationService extends IService<Organization> {

    List<Organization> getListByUserRole(SysUserInfo sysUserInfo);

    JsonResult delete(Integer organizationId);

    PageResult<OrganizationResp> organizationList(String keyword, Integer page, Integer limit);
}
